<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>std.math2</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "std.math2";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/std.math2.html" class="symbol">std.math2</a></h1>
  
<dl>
<dt class="decl">bool <a class="symbol _function" name="feq" href="./htmlsrc/std.math2.html#L26" kind="function" beg="26" end="29">feq</a><span class="params">(real <em>a</em>, real <em>b</em>)</span>; <a title="Permalink to this symbol" href="#feq" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L26">#</a></dt>
<dd class="ddef">
<div class="summary">compare floats with given precision</div></dd>
<dt class="decl">bool <a class="symbol _function" name="feq:2" href="./htmlsrc/std.math2.html#L31" kind="function" beg="31" end="34">feq</a><span class="params">(real <em>a</em>, real <em>b</em>, real <em>eps</em>)</span>; <a title="Permalink to this symbol" href="#feq:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L31">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _function" name="abs" href="./htmlsrc/std.math2.html#L40" kind="function" beg="40" end="43">abs</a><span class="params">(int <em>n</em>)</span>; <a title="Permalink to this symbol" href="#abs" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L40">#</a></dt>
<dd class="ddef">
<div class="summary">Modulus</div></dd>
<dt class="decl">long <a class="symbol _function" name="abs:2" href="./htmlsrc/std.math2.html#L45" kind="function" beg="45" end="48">abs</a><span class="params">(long <em>n</em>)</span>; <a title="Permalink to this symbol" href="#abs:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L45">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="abs:3" href="./htmlsrc/std.math2.html#L50" kind="function" beg="50" end="54">abs</a><span class="params">(real <em>n</em>)</span>; <a title="Permalink to this symbol" href="#abs:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L50">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _function" name="sqr" href="./htmlsrc/std.math2.html#L60" kind="function" beg="60" end="63">sqr</a><span class="params">(int <em>n</em>)</span>; <a title="Permalink to this symbol" href="#sqr" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L60">#</a></dt>
<dd class="ddef">
<div class="summary">Square</div></dd>
<dt class="decl">long <a class="symbol _function" name="sqr:2" href="./htmlsrc/std.math2.html#L65" kind="function" beg="65" end="68">sqr</a><span class="params">(long <em>n</em>)</span>; <a title="Permalink to this symbol" href="#sqr:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L65">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="sqr:3" href="./htmlsrc/std.math2.html#L70" kind="function" beg="70" end="73">sqr</a><span class="params">(real <em>n</em>)</span>; <a title="Permalink to this symbol" href="#sqr:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L70">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest" href="./htmlsrc/std.math2.html#L75" kind="unittest" beg="75" end="78">unittest</a>; <a title="Permalink to this symbol" href="#unittest" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L75">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">ushort <a class="symbol _variable" name="fp_cw_chop" href="./htmlsrc/std.math2.html#L80" kind="variable" beg="80" end="80">fp_cw_chop</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#fp_cw_chop" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L80">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="trunc" href="./htmlsrc/std.math2.html#L86" kind="function" beg="86" end="97">trunc</a><span class="params">(real <em>n</em>)</span>; <a title="Permalink to this symbol" href="#trunc" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L86">#</a></dt>
<dd class="ddef">
<div class="summary">Integer part</div></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:2" href="./htmlsrc/std.math2.html#L99" kind="unittest" beg="99" end="103">unittest</a>; <a title="Permalink to this symbol" href="#unittest:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L99">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="frac" href="./htmlsrc/std.math2.html#L109" kind="function" beg="109" end="112">frac</a><span class="params">(real <em>n</em>)</span>; <a title="Permalink to this symbol" href="#frac" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L109">#</a></dt>
<dd class="ddef">
<div class="summary">Fractional part</div></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:3" href="./htmlsrc/std.math2.html#L114" kind="unittest" beg="114" end="118">unittest</a>; <a title="Permalink to this symbol" href="#unittest:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L114">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _function" name="sign" href="./htmlsrc/std.math2.html#L124" kind="function" beg="124" end="127">sign</a><span class="params">(int <em>n</em>)</span>; <a title="Permalink to this symbol" href="#sign" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L124">#</a></dt>
<dd class="ddef">
<div class="summary">Sign</div></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:4" href="./htmlsrc/std.math2.html#L129" kind="unittest" beg="129" end="134">unittest</a>; <a title="Permalink to this symbol" href="#unittest:4" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L129">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _function" name="sign:2" href="./htmlsrc/std.math2.html#L136" kind="function" beg="136" end="139">sign</a><span class="params">(long <em>n</em>)</span>; <a title="Permalink to this symbol" href="#sign:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L136">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:5" href="./htmlsrc/std.math2.html#L141" kind="unittest" beg="141" end="146">unittest</a>; <a title="Permalink to this symbol" href="#unittest:5" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L141">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _function" name="sign:3" href="./htmlsrc/std.math2.html#L148" kind="function" beg="148" end="151">sign</a><span class="params">(real <em>n</em>)</span>; <a title="Permalink to this symbol" href="#sign:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L148">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:6" href="./htmlsrc/std.math2.html#L153" kind="unittest" beg="153" end="158">unittest</a>; <a title="Permalink to this symbol" href="#unittest:6" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L153">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="cycle2deg" href="./htmlsrc/std.math2.html#L164" kind="function" beg="164" end="167">cycle2deg</a><span class="params">(real <em>c</em>)</span>; <a title="Permalink to this symbol" href="#cycle2deg" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L164">#</a></dt>
<dd class="ddef">
<div class="summary">Cycles &lt;-&gt; radians &lt;-&gt; grads &lt;-&gt; degrees conversions</div></dd>
<dt class="decl">real <a class="symbol _function" name="cycle2rad" href="./htmlsrc/std.math2.html#L169" kind="function" beg="169" end="172">cycle2rad</a><span class="params">(real <em>c</em>)</span>; <a title="Permalink to this symbol" href="#cycle2rad" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L169">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="cycle2grad" href="./htmlsrc/std.math2.html#L174" kind="function" beg="174" end="177">cycle2grad</a><span class="params">(real <em>c</em>)</span>; <a title="Permalink to this symbol" href="#cycle2grad" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L174">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="deg2cycle" href="./htmlsrc/std.math2.html#L179" kind="function" beg="179" end="182">deg2cycle</a><span class="params">(real <em>d</em>)</span>; <a title="Permalink to this symbol" href="#deg2cycle" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L179">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="deg2rad" href="./htmlsrc/std.math2.html#L184" kind="function" beg="184" end="187">deg2rad</a><span class="params">(real <em>d</em>)</span>; <a title="Permalink to this symbol" href="#deg2rad" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L184">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="deg2grad" href="./htmlsrc/std.math2.html#L189" kind="function" beg="189" end="192">deg2grad</a><span class="params">(real <em>d</em>)</span>; <a title="Permalink to this symbol" href="#deg2grad" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L189">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="rad2deg" href="./htmlsrc/std.math2.html#L194" kind="function" beg="194" end="197">rad2deg</a><span class="params">(real <em>r</em>)</span>; <a title="Permalink to this symbol" href="#rad2deg" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L194">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="rad2cycle" href="./htmlsrc/std.math2.html#L199" kind="function" beg="199" end="202">rad2cycle</a><span class="params">(real <em>r</em>)</span>; <a title="Permalink to this symbol" href="#rad2cycle" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L199">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="rad2grad" href="./htmlsrc/std.math2.html#L204" kind="function" beg="204" end="207">rad2grad</a><span class="params">(real <em>r</em>)</span>; <a title="Permalink to this symbol" href="#rad2grad" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L204">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="grad2deg" href="./htmlsrc/std.math2.html#L209" kind="function" beg="209" end="212">grad2deg</a><span class="params">(real <em>g</em>)</span>; <a title="Permalink to this symbol" href="#grad2deg" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L209">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="grad2cycle" href="./htmlsrc/std.math2.html#L214" kind="function" beg="214" end="217">grad2cycle</a><span class="params">(real <em>g</em>)</span>; <a title="Permalink to this symbol" href="#grad2cycle" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L214">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="grad2rad" href="./htmlsrc/std.math2.html#L219" kind="function" beg="219" end="222">grad2rad</a><span class="params">(real <em>g</em>)</span>; <a title="Permalink to this symbol" href="#grad2rad" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L219">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:7" href="./htmlsrc/std.math2.html#L224" kind="unittest" beg="224" end="238">unittest</a>; <a title="Permalink to this symbol" href="#unittest:7" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L224">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="avg" href="./htmlsrc/std.math2.html#L244" kind="function" beg="244" end="250">avg</a><span class="params">(real[] <em>n</em>)</span>; <a title="Permalink to this symbol" href="#avg" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L244">#</a></dt>
<dd class="ddef">
<div class="summary">Arithmetic average of values</div></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:8" href="./htmlsrc/std.math2.html#L252" kind="unittest" beg="252" end="256">unittest</a>; <a title="Permalink to this symbol" href="#unittest:8" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L252">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _function" name="sum" href="./htmlsrc/std.math2.html#L262" kind="function" beg="262" end="268">sum</a><span class="params">(int[] <em>n</em>)</span>; <a title="Permalink to this symbol" href="#sum" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L262">#</a></dt>
<dd class="ddef">
<div class="summary">Sum of values</div></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:9" href="./htmlsrc/std.math2.html#L270" kind="unittest" beg="270" end="274">unittest</a>; <a title="Permalink to this symbol" href="#unittest:9" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L270">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">long <a class="symbol _function" name="sum:2" href="./htmlsrc/std.math2.html#L276" kind="function" beg="276" end="282">sum</a><span class="params">(long[] <em>n</em>)</span>; <a title="Permalink to this symbol" href="#sum:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L276">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:10" href="./htmlsrc/std.math2.html#L284" kind="unittest" beg="284" end="288">unittest</a>; <a title="Permalink to this symbol" href="#unittest:10" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L284">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="sum:3" href="./htmlsrc/std.math2.html#L290" kind="function" beg="290" end="296">sum</a><span class="params">(real[] <em>n</em>)</span>; <a title="Permalink to this symbol" href="#sum:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L290">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:11" href="./htmlsrc/std.math2.html#L298" kind="unittest" beg="298" end="302">unittest</a>; <a title="Permalink to this symbol" href="#unittest:11" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L298">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _function" name="min" href="./htmlsrc/std.math2.html#L308" kind="function" beg="308" end="315">min</a><span class="params">(int[] <em>n</em>)</span>; <a title="Permalink to this symbol" href="#min" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L308">#</a></dt>
<dd class="ddef">
<div class="summary">The smallest value</div></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:12" href="./htmlsrc/std.math2.html#L317" kind="unittest" beg="317" end="321">unittest</a>; <a title="Permalink to this symbol" href="#unittest:12" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L317">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">long <a class="symbol _function" name="min:2" href="./htmlsrc/std.math2.html#L323" kind="function" beg="323" end="330">min</a><span class="params">(long[] <em>n</em>)</span>; <a title="Permalink to this symbol" href="#min:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L323">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:13" href="./htmlsrc/std.math2.html#L332" kind="unittest" beg="332" end="336">unittest</a>; <a title="Permalink to this symbol" href="#unittest:13" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L332">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="min:3" href="./htmlsrc/std.math2.html#L338" kind="function" beg="338" end="347">min</a><span class="params">(real[] <em>n</em>)</span>; <a title="Permalink to this symbol" href="#min:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L338">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:14" href="./htmlsrc/std.math2.html#L349" kind="unittest" beg="349" end="353">unittest</a>; <a title="Permalink to this symbol" href="#unittest:14" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L349">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _function" name="min:4" href="./htmlsrc/std.math2.html#L355" kind="function" beg="355" end="358">min</a><span class="params">(int <em>a</em>, int <em>b</em>)</span>; <a title="Permalink to this symbol" href="#min:4" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L355">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:15" href="./htmlsrc/std.math2.html#L360" kind="unittest" beg="360" end="363">unittest</a>; <a title="Permalink to this symbol" href="#unittest:15" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L360">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">long <a class="symbol _function" name="min:5" href="./htmlsrc/std.math2.html#L365" kind="function" beg="365" end="368">min</a><span class="params">(long <em>a</em>, long <em>b</em>)</span>; <a title="Permalink to this symbol" href="#min:5" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L365">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:16" href="./htmlsrc/std.math2.html#L370" kind="unittest" beg="370" end="373">unittest</a>; <a title="Permalink to this symbol" href="#unittest:16" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L370">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="min:6" href="./htmlsrc/std.math2.html#L375" kind="function" beg="375" end="378">min</a><span class="params">(real <em>a</em>, real <em>b</em>)</span>; <a title="Permalink to this symbol" href="#min:6" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L375">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:17" href="./htmlsrc/std.math2.html#L380" kind="unittest" beg="380" end="383">unittest</a>; <a title="Permalink to this symbol" href="#unittest:17" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L380">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _function" name="max" href="./htmlsrc/std.math2.html#L389" kind="function" beg="389" end="396">max</a><span class="params">(int[] <em>n</em>)</span>; <a title="Permalink to this symbol" href="#max" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L389">#</a></dt>
<dd class="ddef">
<div class="summary">The largest value</div></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:18" href="./htmlsrc/std.math2.html#L398" kind="unittest" beg="398" end="402">unittest</a>; <a title="Permalink to this symbol" href="#unittest:18" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L398">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">long <a class="symbol _function" name="max:2" href="./htmlsrc/std.math2.html#L404" kind="function" beg="404" end="411">max</a><span class="params">(long[] <em>n</em>)</span>; <a title="Permalink to this symbol" href="#max:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L404">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:19" href="./htmlsrc/std.math2.html#L413" kind="unittest" beg="413" end="417">unittest</a>; <a title="Permalink to this symbol" href="#unittest:19" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L413">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="max:3" href="./htmlsrc/std.math2.html#L419" kind="function" beg="419" end="426">max</a><span class="params">(real[] <em>n</em>)</span>; <a title="Permalink to this symbol" href="#max:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L419">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:20" href="./htmlsrc/std.math2.html#L428" kind="unittest" beg="428" end="432">unittest</a>; <a title="Permalink to this symbol" href="#unittest:20" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L428">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">int <a class="symbol _function" name="max:4" href="./htmlsrc/std.math2.html#L434" kind="function" beg="434" end="437">max</a><span class="params">(int <em>a</em>, int <em>b</em>)</span>; <a title="Permalink to this symbol" href="#max:4" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L434">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:21" href="./htmlsrc/std.math2.html#L439" kind="unittest" beg="439" end="442">unittest</a>; <a title="Permalink to this symbol" href="#unittest:21" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L439">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">long <a class="symbol _function" name="max:5" href="./htmlsrc/std.math2.html#L444" kind="function" beg="444" end="447">max</a><span class="params">(long <em>a</em>, long <em>b</em>)</span>; <a title="Permalink to this symbol" href="#max:5" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L444">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:22" href="./htmlsrc/std.math2.html#L449" kind="unittest" beg="449" end="452">unittest</a>; <a title="Permalink to this symbol" href="#unittest:22" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L449">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="max:6" href="./htmlsrc/std.math2.html#L454" kind="function" beg="454" end="457">max</a><span class="params">(real <em>a</em>, real <em>b</em>)</span>; <a title="Permalink to this symbol" href="#max:6" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L454">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:23" href="./htmlsrc/std.math2.html#L459" kind="unittest" beg="459" end="462">unittest</a>; <a title="Permalink to this symbol" href="#unittest:23" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L459">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="acot" href="./htmlsrc/std.math2.html#L468" kind="function" beg="468" end="471">acot</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#acot" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L468">#</a></dt>
<dd class="ddef">
<div class="summary">Arccotangent</div></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:24" href="./htmlsrc/std.math2.html#L473" kind="unittest" beg="473" end="476">unittest</a>; <a title="Permalink to this symbol" href="#unittest:24" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L473">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="asec" href="./htmlsrc/std.math2.html#L482" kind="function" beg="482" end="485">asec</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#asec" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L482">#</a></dt>
<dd class="ddef">
<div class="summary">Arcsecant</div></dd>
<dt class="decl">real <a class="symbol _function" name="acosec" href="./htmlsrc/std.math2.html#L492" kind="function" beg="492" end="495">acosec</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#acosec" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L492">#</a></dt>
<dd class="ddef">
<div class="summary">Arccosecant</div></dd>
<dt class="decl">real <a class="symbol _function" name="cot" href="./htmlsrc/std.math2.html#L523" kind="function" beg="523" end="532">cot</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#cot" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L523">#</a></dt>
<dd class="ddef">
<div class="summary">Tangent</div>
Cotangent</dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:25" href="./htmlsrc/std.math2.html#L534" kind="unittest" beg="534" end="537">unittest</a>; <a title="Permalink to this symbol" href="#unittest:25" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L534">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="sec" href="./htmlsrc/std.math2.html#L543" kind="function" beg="543" end="553">sec</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#sec" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L543">#</a></dt>
<dd class="ddef">
<div class="summary">Secant</div></dd>
<dt class="decl">real <a class="symbol _function" name="cosec" href="./htmlsrc/std.math2.html#L560" kind="function" beg="560" end="570">cosec</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#cosec" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L560">#</a></dt>
<dd class="ddef">
<div class="summary">Cosecant</div></dd>
<dt class="decl">real <a class="symbol _function" name="coth" href="./htmlsrc/std.math2.html#L615" kind="function" beg="615" end="618">coth</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#coth" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L615">#</a></dt>
<dd class="ddef">
<div class="summary">Extract mantissa and exponent from float</div>
Hyperbolic cotangent</dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:26" href="./htmlsrc/std.math2.html#L620" kind="unittest" beg="620" end="623">unittest</a>; <a title="Permalink to this symbol" href="#unittest:26" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L620">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="sech" href="./htmlsrc/std.math2.html#L629" kind="function" beg="629" end="632">sech</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#sech" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L629">#</a></dt>
<dd class="ddef">
<div class="summary">Hyperbolic secant</div></dd>
<dt class="decl">real <a class="symbol _function" name="cosech" href="./htmlsrc/std.math2.html#L638" kind="function" beg="638" end="641">cosech</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#cosech" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L638">#</a></dt>
<dd class="ddef">
<div class="summary">Hyperbolic cosecant</div></dd>
<dt class="decl">real <a class="symbol _function" name="acoth" href="./htmlsrc/std.math2.html#L726" kind="function" beg="726" end="729">acoth</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#acoth" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L726">#</a></dt>
<dd class="ddef">
<div class="summary">Hyperbolic arccosine</div>
Hyperbolic arcsine
 
<p class="bl"/>
 Hyperbolic arctangent
 
<p class="bl"/>
 Hyperbolic arccotangent</dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:27" href="./htmlsrc/std.math2.html#L731" kind="unittest" beg="731" end="734">unittest</a>; <a title="Permalink to this symbol" href="#unittest:27" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L731">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">real <a class="symbol _function" name="asech" href="./htmlsrc/std.math2.html#L740" kind="function" beg="740" end="743">asech</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#asech" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L740">#</a></dt>
<dd class="ddef">
<div class="summary">Hyperbolic arcsecant</div></dd>
<dt class="decl">real <a class="symbol _function" name="acosech" href="./htmlsrc/std.math2.html#L749" kind="function" beg="749" end="752">acosech</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#acosech" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L749">#</a></dt>
<dd class="ddef">
<div class="summary">Hyperbolic arccosecant</div></dd>
<dt class="decl">real <a class="symbol _function" name="atof" href="./htmlsrc/std.math2.html#L758" kind="function" beg="758" end="890">atof</a><span class="params">(char[] <em>s</em>)</span>; <a title="Permalink to this symbol" href="#atof" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L758">#</a></dt>
<dd class="ddef">
<div class="summary">Convert string to float</div></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:28" href="./htmlsrc/std.math2.html#L892" kind="unittest" beg="892" end="913">unittest</a>; <a title="Permalink to this symbol" href="#unittest:28" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.math2.html#L892">#</a></dt>
<dd class="ddef"></dd></dl>
</div>
<div id="footer">
  <p>Copyright © 1999-2008 by Digital Mars ®, All Rights Reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 03:40:08 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>